#include "showlineedit.h"


ShowLineEdit::ShowLineEdit( QWidget *parent)
    : QLineEdit( parent)
{

    this->setReadOnly(true);

    QPalette palette;
    palette.setColor(QPalette::Text,Qt::white);
    this->setPalette(palette);

//    this->setFrame(false);
    this->setStyleSheet("background-color:transparent");
}

void ShowLineEdit::addFontSize(int size)
{
    QFont font = this->font();
    font.setPointSize(font.pointSize() + size);
    this->setFont(font);
}
